<html>
<head><meta charset="utf-8"><title>simd_fsqrt questions thread · project-portable-simd · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/index.html">project-portable-simd</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html">simd_fsqrt questions thread</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="239191731"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239191731" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239191731">(May 18 2021 at 03:05)</a>:</h4>
<p>Here we go again...</p>



<a name="239264003"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239264003" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239264003">(May 18 2021 at 14:35)</a>:</h4>
<p>Alright, good morning people <span class="user-mention" data-user-id="281757">@Jubilee</span> <br>
I took a stab at it:</p>
<ol>
<li>Did the usual <code>monkey-see monkey-do</code> approach based on looking at <a href="https://github.com/rust-lang/rust/issues/76">#76</a> and at <code>simd_fabs</code></li>
<li>Added a test, check that the test dump did indeed generate f32 and f64 multi-lane tests<br>
<a href="https://github.com/rust-lang/stdsimd/pull/120">https://github.com/rust-lang/stdsimd/pull/120</a></li>
</ol>



<a name="239269899"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239269899" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239269899">(May 18 2021 at 15:07)</a>:</h4>
<p><span class="user-mention" data-user-id="312331">@Caleb Zulawski</span> what does the <code>#[cfg(feature = "std")</code> feature do? How can I find documentaiton for it?</p>



<a name="239270597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239270597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239270597">(May 18 2021 at 15:11)</a>:</h4>
<p>So all it means is that if you pass the std feature to the crate when you build it, it includes it</p>



<a name="239270706"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239270706" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239270706">(May 18 2021 at 15:12)</a>:</h4>
<p>But we use that feature to indicate which things require the standard library (as opposed to being compatible with no_std)</p>



<a name="239270820"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239270820" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239270820">(May 18 2021 at 15:12)</a>:</h4>
<p>Oooh, so like the people that like to work on embedded stuff don't include <code>std</code> or <code>simd</code> without asking explicitly for it. Gotcha.</p>



<a name="239270907"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239270907" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239270907">(May 18 2021 at 15:13)</a>:</h4>
<p>Well they'll get the simd module no matter what, but yeah you can opt out of std</p>



<a name="239271038"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239271038" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239271038">(May 18 2021 at 15:14)</a>:</h4>
<p>Nice. Also you can edit my PRs directly now I think.</p>



<a name="239271324"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239271324" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239271324">(May 18 2021 at 15:15)</a>:</h4>
<p>Sorry <span class="user-mention" data-user-id="224471">@Lokathor</span> I don't know how to resolve Caleb's change request and not shut down your question <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="239274352"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239274352" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239274352">(May 18 2021 at 15:33)</a>:</h4>
<p>no worries, "sqrt in core" has just been a pet peeve of mine for about 2 years now</p>



<a name="239274538"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239274538" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239274538">(May 18 2021 at 15:34)</a>:</h4>
<p>Oh - what's the history there? Does Rust not have a simd sqrt in core?</p>



<a name="239274862"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239274862" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239274862">(May 18 2021 at 15:36)</a>:</h4>
<p>Rust doesn't have most transcendental or otherwise weird functions like sqrt in core, because they rely on the system libm (which may not be present, for example in wasm or embedded)</p>



<a name="239274964"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239274964" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239274964">(May 18 2021 at 15:37)</a>:</h4>
<p>The solution for scalar functions is to static link a custom libm, and for simd there's a similar solution for LLVM</p>



<a name="239275005"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275005" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275005">(May 18 2021 at 15:37)</a>:</h4>
<p>oooh, that makes sense. Thanks!</p>



<a name="239275092"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275092" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275092">(May 18 2021 at 15:37)</a>:</h4>
<p>So as much as <span class="user-mention" data-user-id="224471">@Lokathor</span> wants sqrt in core, it's consistent to only have it in std right now so don't worry too much <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="239275292"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275292" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275292">(May 18 2021 at 15:39)</a>:</h4>
<p>yeah rust should "just work" in this area but whatever i guess</p>



<a name="239275600"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275600" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275600">(May 18 2021 at 15:40)</a>:</h4>
<p>Is core closer to the bootstrapping part of Rust and std the standard libs?</p>



<a name="239275667"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275667" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275667">(May 18 2021 at 15:41)</a>:</h4>
<p>core is the bare minimum to make rust work</p>



<a name="239275677"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275677" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275677">(May 18 2021 at 15:41)</a>:</h4>
<p>We have <code>Main.Core</code> and Main.Base.` in Julia for that.</p>



<a name="239275733"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239275733" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239275733">(May 18 2021 at 15:41)</a>:</h4>
<p>core is actually more than a bare minimum</p>



<a name="239276181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276181">(May 18 2021 at 15:44)</a>:</h4>
<p>Yeah, I guess what I should say is by definition it's at least the bare minimum, but the goal is to put things in there when possible</p>



<a name="239276290"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276290" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276290">(May 18 2021 at 15:45)</a>:</h4>
<p>Anything that interacts with the OS will never be there, which trivially means things like filesystem interaction</p>



<a name="239276357"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276357" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276357">(May 18 2021 at 15:46)</a>:</h4>
<p>But it also bleeds into some things like allocation (Vec, Box, etc) and things like Error</p>



<a name="239276444"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276444" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276444">(May 18 2021 at 15:46)</a>:</h4>
<p>Floating point functions are really just a temporary limitation</p>



<a name="239276498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276498">(May 18 2021 at 15:46)</a>:</h4>
<p>Ok ok.</p>



<a name="239276522"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276522" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276522">(May 18 2021 at 15:46)</a>:</h4>
<p>Core is "as much Rust as you can do without knowing about C or Allocation"</p>



<a name="239276789"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276789" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276789">(May 18 2021 at 15:48)</a>:</h4>
<p>The problem is that compilers have always relied on system libraries for things like math, for pretty good reason, and rust is in pretty uncharted territory for first class support of embedded</p>



<a name="239276904"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239276904" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239276904">(May 18 2021 at 15:49)</a>:</h4>
<p>If you use a C or C++ compiler for embedded you'll find that random bits of their standard libraries just don't work, so they aren't really compliant to the language</p>



<a name="239278286"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239278286" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239278286">(May 18 2021 at 15:56)</a>:</h4>
<p>Is WASM SIMD likely to get support for widths greater than 128 soon?</p>



<a name="239279010"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239279010" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239279010">(May 18 2021 at 16:00)</a>:</h4>
<p>I don't actually know but I'm assuming no, basically every architecture available has 128 but plenty don't have 256</p>



<a name="239279264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239279264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239279264">(May 18 2021 at 16:01)</a>:</h4>
<p>I don't think wasm has quite the same goals as we do, we are okay with 256-nit vectors being an abstraction over two 128-bit vectors, but wasm seems to want to support only what's directly supported everywhere</p>



<a name="239279473"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239279473" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239279473">(May 18 2021 at 16:02)</a>:</h4>
<p>There is work being done for flexible vectors which could cover longer vectors but not quite as explicitly I think</p>



<a name="239294060"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239294060" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Lifshay <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239294060">(May 18 2021 at 17:32)</a>:</h4>
<p>If you like, I'll add sqrt to vector-math next</p>



<a name="239296297"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239296297" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Miguel Raz Guzmán Macedo <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239296297">(May 18 2021 at 17:47)</a>:</h4>
<p><span class="user-mention" data-user-id="312331">@Caleb Zulawski</span> any blockers for the PR?</p>



<a name="239296492"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239296492" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239296492">(May 18 2021 at 17:49)</a>:</h4>
<p>Probably not, I'll have to take another look later</p>



<a name="239323483"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239323483" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239323483">(May 18 2021 at 20:48)</a>:</h4>
<p><span class="user-mention silent" data-user-id="246783">Miguel Raz Guzmán Macedo</span> <a href="#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread/near/239278286">said</a>:</p>
<blockquote>
<p>Is WASM SIMD likely to get support for widths greater than 128 soon?</p>
</blockquote>
<p>No, there has been no such thing even advanced as a proposal. There has been a proposal for flexible vectors, which are the SVE/RISCV-V like ones, but it has not received much attention, as the intention was to get v128 in first.</p>



<a name="239323715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239323715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Lifshay <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239323715">(May 18 2021 at 20:50)</a>:</h4>
<p>the intention is for the flexible vectors proposal to cover &gt;=256-bit vectors including AVX2 and AVX512</p>



<a name="239323861"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239323861" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Lifshay <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239323861">(May 18 2021 at 20:51)</a>:</h4>
<p>not that it won't cover &lt;256-bit vectors</p>



<a name="239323931"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/239323931" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#239323931">(May 18 2021 at 20:51)</a>:</h4>
<p>Right, I assume that however it would be implemented would allow using the larger x86 ones as well.</p>



<a name="240117459"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/simd_fsqrt%20questions%20thread/near/240117459" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/simd_fsqrt.20questions.20thread.html#240117459">(May 24 2021 at 21:54)</a>:</h4>
<p><span class="user-mention" data-user-id="312331">@Caleb Zulawski</span> were your concerns addressed? re: <a href="https://github.com/rust-lang/stdsimd/pull/120">https://github.com/rust-lang/stdsimd/pull/120</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>